package com.lindroy.jetpacknotes.navigation.navigationui

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.lindroy.jetpacknotes.R
import com.lindroy.jetpacknotes.extensions.launchAct
import kotlinx.android.synthetic.main.activity_navigation_uiactivity.*

class NavigationUIActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_navigation_uiactivity)
        btnActionBar.setOnClickListener { launchAct<NavigationUIActionBarActivity>() }
        btnBottomBar.setOnClickListener { launchAct<NavigationUIBottomViewActivity>() }
        btnToolbar.setOnClickListener { launchAct<NavigationUIToolbarActivity>() }
        btnDrawer.setOnClickListener { launchAct<NavigationUIDrawerActivity>() }
        btnCollapse.setOnClickListener { launchAct<NavigationUICollapseActivity>() }
    }
}